package com.seed.uaa.enumeration;

import com.mybatisflex.annotation.EnumValue;

public enum PermiOwner {
    user("user", "用户"),
    tenant("tenant", "租户"),
    role("role", "角色"),
    organization("organization", "组织");

    private final String value;
    private final String label;

    PermiOwner(String value, String label) {
        this.value = value;
        this.label = label;
    }

    @EnumValue
    public String getValue() { return value; }

    public String getLabel() {
        return label;
    }
}
